﻿@model List<shopLinhOnline.Models.ACK.SanPhamACK>
@{
    ViewBag.Title = "Home";
    Layout = "~/Views/Shared/_LayoutHome.cshtml";
}
<!---Phần thân-->
<style type="text/css">
    .sanpham {
        float: left;
        height: 367px;
        margin-top: 20px;
        width: 250px;
        border-bottom: 100px solid #d6d6d6;
        margin-right: 10px;
        margin-left: 10px;
    }
</style>
<div id="midMainContent">


    <div>
        <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="312194C1" />
    </div>


    <div id="dSizechart" style="display:none;position:absolute; left:410px; top: 300px; background-color:#ffffff; padding-left:10;">
        <iframe id="SizeCharFrame" frameborder="0" marginheight="0" style="border:#d1d1d1; border-width:1pt; border-style:solid; width:410px; height:440px" scrolling="no"></iframe>
    </div>
    <!---->
    <!--<div id="ajxldc">-->
    <!--sort-->
    <div class="itemsort" style=" width:100%;height:50px;">
        <div align="left" bgcolor="#d3d3d3" style="background-color:#ffffff; padding:4px; font-size: 11px; color:#464646; height:28px; float:left">
            <div id="ctl00_MainContent_trSortObjectsPlace">

                <b>FILTER BY :</b>
                <select name="ctl00$MainContent$ddlSizeType" id="ctl00_MainContent_ddlSizeType">
                    <option value="">All Size</option>
                    <option value="X-Small">X-Small</option>
                    <option value="Small">Small</option>
                    <option value="Medium">Medium</option>
                    <option value="Large">Large</option>
                </select>

                <a href="javascript:fn_sizeChart('block')" style="color:#464646; font-weight: normal; font-size: 10px;text-decoration: underline; margin: 0 7px 0 7px;"><b>SIZE CHART</b></a>


                <!--<b>SORT BY:</b>&nbsp;-->
                <select name="" onchange="javascript:setTimeout()" id="ctl00_MainContent_ddlSortType">
                    <option selected="selected" value="">Sort By</option>
                    <option value="1">What's New</option>
                    <option value="2">High Price</option>
                    <option value="3">Low Price</option>
                </select>
            </div>
        </div>
        <div align="right" class="ipadAlign" style="height:28px;float:right;">
            <div id="ctl00_MainContent_trTopPagerPlace" class="pagenation">
                <!--
                <div cellpadding="3" cellspacing="1" border="0" class="page_number">
                    <ul class="pagenumber">
                        <li class="PagerOtherPageCells">&lt;</li>
                        <li class="PagerCurrentPageCell active"><span class="PagerHyperlinkStyle"><strong> 1 </strong></span></li>
                        <li class="PagerOtherPageCells"><a class="PagerHyperlinkStyle" href="?br=love21&amp;category=love21_dresses&amp;pagesize=30&amp;page=2"> 2 </a></li>
                        <li class="PagerOtherPageCells"><a class="PagerHyperlinkStyle" href="?br=love21&amp;category=love21_dresses&amp;pagesize=30&amp;page=3"> 3 </a></li>
                        <li class="PagerOtherPageCells"><a class="PagerHyperlinkStyle" href="?br=love21&amp;category=love21_dresses&amp;pagesize=30&amp;page=4"> 4 </a></li>
                        <li class="more_page">...</li>
                        <li class="PagerOtherPageCells"><a class="PagerHyperlinkStyle" href="?br=love21&amp;category=love21_dresses&amp;pagesize=30&amp;page=10"> 10 </a></li>
                        <li class="PagerOtherPageCells"><a class="PagerHyperlinkStyle" href="?br=love21&amp;category=love21_dresses&amp;pagesize=30&amp;page=2" title=" NextPage 2">&gt;</a></li>
                        <li class="view_more"><a class="PagerHyperlinkStyle" href="?br=love21&amp;category=love21_dresses&amp;pagesize=60&amp;page=1">View 60</a></li>
                        <li class="view_more"><a class="PagerHyperlinkStyle" href="?br=love21&amp;category=love21_dresses&amp;pagesize=120&amp;page=1">View 120</a></li>
                    </ul>
                </div>-->
                <span id="ctl00_MainContent_pgAllowPagerTop"></span>
            </div>
        </div>
    </div>
    <div class="noidung" style="width:100%; ">
        <!--bat dau san pham-->
        @foreach (var sanpham in Model)
        {
            List<string> links = new List<string>();
            if (sanpham.m_lstHinhAnh.Count > 0)
            {
                foreach (var t in sanpham.m_lstHinhAnh)
                {
                    links.Add(t.Link);
                }
            }

            <div class="sanpham">
                <div class="ItemImage">
                    <a class="pdpLink" href="/Detail/Index">
                        <img id="" src="Images/view/@links[0]" border="0" onerror="" onmouseout="fnChangeProductImageForMouseEvent(this, 'Images/view/@links[0]');" onmouseover="fnChangeProductImageForMouseEvent(this, 'Images/view/@links[1]');" />
                    </a>
                    <a rel="nofollow" href="" onclick="" class="play">
                        <img src="http://www.forever21.com/images/en/quickview/btn_quickview.png" />
                    </a>
                    <div style="position:relative;">
                        <div style="position:absolute; text-align:right; top:-362px; left:222px">
                        </div>
                    </div>
                </div>
                <div align="left" valign="top" style="height:118px;width:199px;">
                    <span id="ctl00_MainContent_dlCategoryList_ctl00_dvContainer">
                        <div class="ItemTag1"></div>
                        <div class="ItemTag2">LOVE21</div>
                        <a href="#">
                            <div class="DisplayName">@sanpham.m_SanPhamInfo.Ten</div>
                        </a>
                        <font class="price">@sanpham.m_SanPhamInfo.DonGiaBan</font>
                        <br />
                        <div class="pr-snippet-space" style="height:29px;float:left;display:none;"></div>
                    </span>
                </div>
            </div>
    <!--ket thuc san pham-->
        }
        <!--ket thuc san pham-->
    </div>
    

    <div class="chau-test">
        <a href="#" onclick="" style="position:fixed; bottom:40px; right:40px; z-index:1000;"><img src="http://www.forever21.com/images/en/common/backtotop-btn.png" /></a>
    </div>
    <div id="popupStatus" style="display: none;">
        <div id="popups">
            <div class="popup">
                <div class="enter-email">
                    <div class="close"><img src="Images/img_temp/x-quickview.png" /></div>

                </div>
            </div>
        </div>
    </div>
</div>
@{
    //Hien thi form login
    string strhtml = string.Empty;
    if (Session["UserName"] != null)
    {

    }
    else
    {

    }
    ViewBag.login = strhtml;
}
